package day03.homework.expand;

public class MaxDemo {
    public static void main(String[] args) {
        int a = 55,b=65;
        System.out.println("最大值为："+ (a>b ? a:b));//65
        System.out.println("-------------------------------");
        if(a>b){
            System.out.println("最大值为："+a);
        }else{
            System.out.println("最大值为："+b);
        }
    }
}
